package com.atom.app.mvvm.net.bean

import com.fasterxml.jackson.annotation.JsonProperty

class TaskDetail {

    class Data {
        @JsonProperty("answerOption")
        var answerOption: String? = null

        @JsonProperty("branchAddress")
        var branchAddress: String? = null

        @JsonProperty("branchName")
        var branchName: String? = null

        @JsonProperty("custNum")
        var custNum: Int? = null

        @JsonProperty("date")
        var date: String? = null

        @JsonProperty("deductOption")
        var deductOption: String? = null

        @JsonProperty("taskName")
        var taskName: String? = null

        @JsonProperty("time")
        var time: String? = null

        @JsonProperty("topicDetail")
        var topicDetail: List<TopicDetail>? = null

        @JsonProperty("userDefine")
        var userDefine: String? = null
    }

    class TopicDetail {
        @JsonProperty("appealInfo")
        var appealInfo: String? = null

        @JsonProperty("fields")
        var fields: Fields? = null

        @JsonProperty("model")
        var model: String? = null

        @JsonProperty("pk")
        var pk: Int? = null
    }

    class Fields {
        @JsonProperty("childrenNo")
        var childrenNo: Int? = null

        @JsonProperty("deductionReasonImage")
        var deductionReasonImage: String? = null

        @JsonProperty("deductionReasonText")
        var deductionReasonText: String? = null

        @JsonProperty("deductionReasonVideo")
        var deductionReasonVideo: String? = null

        @JsonProperty("isEndNode")
        var isEndNode: Boolean? = null

        @JsonProperty("parentId")
        var parentId: Int? = null

        @JsonProperty("quesDetail")
        var quesDetail: String? = null

        @JsonProperty("quesId")
        var quesId: Int? = null

        @JsonProperty("quesName")
        var quesName: String? = null

        @JsonProperty("resultScore")
        var resultScore: Double? = null

        @JsonProperty("scaleOfMarks")
        var scaleOfMarks: Any? = null

        @JsonProperty("taskId")
        var taskId: Int? = null

        @JsonProperty("totalScore")
        var totalScore: Double? = null
    }
}
